package org.september.pisces.region;

import org.september.pisces.region.controller.RegionController;

public enum PiscesRegionPermission {
    区域树(RegionController.RegionTree_Page,RegionController.RegionTree_Data,RegionController.GetFlag_Action),
    区域列表(RegionController.Region_List_Page,RegionController.Region_List_Data),
    编辑区域(RegionController.Edit_Page,RegionController.Set_Main_Action,RegionController.Update_Action,RegionController.Enbale_Action,RegionController.Add_Action),
    删除区域(RegionController.Delete_Action),
    初始化区域(RegionController.Init_Action),
	;
	
    private String name;
    private String[] urls;

    PiscesRegionPermission(String... urls) {
        this.name = this.name();
        this.urls = urls;
    }

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String[] getUrls() {
		return urls;
	}

	public void setUrls(String[] urls) {
		this.urls = urls;
	}

}
